package com.OID.model;

import java.util.HashSet;
import java.util.Set;

public class Customer implements java.io.Serializable {

    private CustomerId customerId;
    private Integer version;
    private Set orders = new HashSet(0);

    public Customer() {
    }

    public Customer(CustomerId customerId) {
        this.customerId = customerId;
    }
    public Customer(CustomerId customerId, Set orders) {
        this.customerId = customerId;
        this.orders = orders;
    }

    public CustomerId getCustomerId() {
        return this.customerId;
    }

    public void setCustomerId(CustomerId customerId) {
        this.customerId = customerId;
    }
    public Integer getVersion() {
        return this.version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }
    public Set getOrders() {
        return this.orders;
    }

    public void setOrders(Set orders) {
        this.orders = orders;
    }

}


